import request from '@/utils/request'

// 获取学生列表
export function getStudentList(params) {
  return request.get('/student/list', params)
}

// 新增学生
export function insertStudent(data) {
  return request.post('/student/insert', data)
}

// 更新学生信息
export function updateStudent(data) {
  return request.post('/student/update', data)
}


export function getInIds(params) {
  return request.get('/student/getInIds', params)
}

export function getStudentGrowth(params) {
  return request({
    url: '/student/getStudentGrowth',
    method: 'get',
    params
  })
}